import request from '@/utils/request'

export default {
    orderTotal: function (days) {
    return request({
      url: '/echarts/order/'+days,
      method: 'get'
    })
  },
  storeUsage: function () {
    return request({
      url: '/echarts/storeHouseUsed',
      method: 'get'
    })
  },
  goodsTypeTotal: function () {
    return request({
      url: '/echarts/goodsTypeTotal',
      method: 'get'
    })
  },
  userRoleTotal: function () {
    return request({
      url: '/echarts/userRoleTotal',
      method: 'get'
    })
  },
  total: function () {
    return request({
      url: '/echarts/total',
      method: 'get'
    })
  },
}
